CXX      := g++
CXXFLAGS := -std=c++14 -Wall
LDFLAGS  := -lpthread -ljsoncpp

ALL: server

server: main.cc
	$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS)

.PHONY: clean
clean:
	rm -rf server